home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / locale.h < prev    next >
C/C++ Source or Header  |  1989-01-09  |  1KB  |  43 lines

  1. /* Copyright Manx Software Systems, Inc. 1988.  All rights reserved */
  2.  
  3. #ifndef __LOCALE_H 
  4. #define __LOCALE_H 
  5.  
  6. #ifndef NULL
  7. #define NULL ((void *)0)
  8. #endif
  9.  
  10. #define LC_ALL        0
  11. #define LC_COLLATE    1
  12. #define LC_CTYPE    2
  13. #define LC_MONETARY    3
  14. #define LC_NUMERIC    4
  15. #define LC_TIME        5
  16.  
  17. typedef struct lconv {
  18.     char *decimal_point;        /* "." */
  19.     char *thousands_sep;        /* "" */
  20.     char *grouping;                /* "" */
  21.     char *int_curr_symbol;        /* "" */
  22.     char *currency_symbol;        /* "" */
  23.     char *mon_decimal_point;    /* "" */
  24.     char *mon_thousands_sep;    /* "" */
  25.     char *mon_grouping;            /* "" */
  26.     char *positive_sign;        /* "" */
  27.     char *negative_sign;        /* "" */
  28.     char int_frac_digits;        /* CHAR_MAX */
  29.     char frac_digits;            /* CHAR_MAX */
  30.     char p_cs_precedes;            /* CHAR_MAX */
  31.     char p_sep_by_space;        /* CHAR_MAX */
  32.     char n_cs_precedes;            /* CHAR_MAX */
  33.     char n_sep_by_space;        /* CHAR_MAX */
  34.     char p_sign_posn;            /* CHAR_MAX */
  35.     char n_sign_posn;            /* CHAR_MAX */
  36. } lconv;
  37.  
  38. char *setlocale(int _category, const char *_locale);
  39. struct lconv *localeconv(void);
  40.  
  41. #endif
  42.  
  43.